package com.mapler.ui;

import com.mapler.utility.HttpHelper;
import com.mapler.utility.IConstant;
import java.awt.Color;
import java.net.URL;
import java.net.URLEncoder;
import org.apache.log4j.Logger;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;

/**
 *
 * @author none
 */
public class AddSettingUI extends javax.swing.JPanel {

    private String username;
    private String password;
    private String country;
    private String recordId;
    private static Logger log = Logger.getLogger(AddSettingUI.class);

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public AddSettingUI(String username, String password, String country) {
        this.username = username;
        this.password = password;
        this.country = country;
        initComponents();
    }

    /**
     * Creates new form AddSettingUI
     */
    public AddSettingUI() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        message = new javax.swing.JLabel();
        postPerIP = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        postInterval = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        lwage = new javax.swing.JTextField();
        upage = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        postType = new javax.swing.JComboBox();
        logincl = new javax.swing.JCheckBox();
        useLocation = new javax.swing.JCheckBox();
        randomSubarea = new javax.swing.JCheckBox();
        useAge = new javax.swing.JCheckBox();
        useFWlink = new javax.swing.JCheckBox();
        maxWaitTime = new javax.swing.JTextField();
        logAutoScroll = new javax.swing.JCheckBox();
        autoPost = new javax.swing.JCheckBox();
        changeIP = new javax.swing.JCheckBox();
        name = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        pass = new javax.swing.JTextField();
        countryUI = new javax.swing.JComboBox();
        add = new javax.swing.JButton();
        postfix = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        prefix = new javax.swing.JTextField();
        jButtonDelete = new javax.swing.JButton();
        jLabel11 = new javax.swing.JLabel();
        maxTry = new javax.swing.JTextField();
        jLabel12 = new javax.swing.JLabel();
        vpnName = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        jTFIEPath = new javax.swing.JTextField();
        jTFFFPath = new javax.swing.JTextField();
        jTFGCPath = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jCBUseProxy = new javax.swing.JCheckBox();
        jCBRandom = new javax.swing.JCheckBox();
        jCBDeletePost = new javax.swing.JCheckBox();
        jCBCloseBrowser = new javax.swing.JCheckBox();
        jCBWebEmail = new javax.swing.JCheckBox();
        jLabel8 = new javax.swing.JLabel();
        vpn = new javax.swing.JCheckBox();
        jCBUpdateAccount = new javax.swing.JCheckBox();
        jCBProxyType = new javax.swing.JCheckBox();
        jCBPostInSameSession = new javax.swing.JCheckBox();
        jTFRenew = new javax.swing.JTextField();
        jLabel17 = new javax.swing.JLabel();
        jCBHideResources = new javax.swing.JCheckBox();
        jCBUseSlot = new javax.swing.JCheckBox();
        jTFSlotNo = new javax.swing.JTextField();
        jLabel18 = new javax.swing.JLabel();
        accountID = new javax.swing.JTextField();
        jLabel19 = new javax.swing.JLabel();
        job = new javax.swing.JComboBox();
        driver = new javax.swing.JComboBox();
        jLabel21 = new javax.swing.JLabel();
        jCBRunIndividual = new javax.swing.JCheckBox();
        jTFDomainInfo = new javax.swing.JTextField();
        jLabel20 = new javax.swing.JLabel();
        jTFEmailTry = new javax.swing.JTextField();
        jLabel22 = new javax.swing.JLabel();

        message.setText("Message");

        jLabel1.setText("Post PerIP");

        jLabel2.setText("Post interval");

        jLabel3.setText("Age");

        jLabel4.setText("Post type");

        postType.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "cas", "ltr" }));

        logincl.setText("Login CL");

        useLocation.setText("Use Location");

        randomSubarea.setText("Random subarea");

        useAge.setText("Use age");

        useFWlink.setText("Use fw email link for confirmation");

        logAutoScroll.setText("Log auto scroll");

        autoPost.setText("autoPost");

        changeIP.setText("Change IP");

        jLabel6.setText("Username");

        jLabel7.setText("Password");

        countryUI.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "UK", "US" }));

        add.setText("Submit");
        add.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                addActionPerformed(evt);
            }
        });

        jLabel9.setText("Postfix");

        jLabel10.setText("Prefix");

        jButtonDelete.setText("Delete");
        jButtonDelete.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonDeleteActionPerformed(evt);
            }
        });

        jLabel11.setText("Wait time");

        jLabel12.setText("Try per post");

        jLabel13.setText("VPN name");

        jTFIEPath.setToolTipText("");

        jLabel14.setText("IE Path");

        jLabel15.setText("FF Path");

        jLabel16.setText("GC Path");

        jLabel5.setText("Country");

        jCBUseProxy.setText("Use Proxy");

        jCBRandom.setText("Random");

        jCBDeletePost.setText("Delete post");

        jCBCloseBrowser.setText("Close browser");

        jCBWebEmail.setText("Web email");

        jLabel8.setText("Account ID");

        vpn.setText("VPN");

        jCBUpdateAccount.setText("Update Account");

        jCBProxyType.setSelected(true);
        jCBProxyType.setText("Proxy Type (Default Manual)");

        jCBPostInSameSession.setText("Post in same session");

        jTFRenew.setToolTipText("");

        jLabel17.setText("ReNew no of items");

        jCBHideResources.setText("Hide resources");

        jCBUseSlot.setText("Use slot");

        jLabel18.setText("Slot no");

        jLabel19.setText("Type");

        job.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "JOB", "W4M" }));

        driver.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "FF", "IE", "GC" }));

        jLabel21.setText("Browser");

        jCBRunIndividual.setText("Run Individual");
        jCBRunIndividual.setToolTipText("");

        jLabel20.setText("Domain Info");

        jLabel22.setText("Email try");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(30, 30, 30)
                        .addComponent(message, javax.swing.GroupLayout.PREFERRED_SIZE, 519, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(205, 205, 205)
                        .addComponent(add)
                        .addGap(6, 6, 6)
                        .addComponent(jButtonDelete))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel6)
                                .addGap(4, 4, 4)
                                .addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel7)
                                .addGap(6, 6, 6)
                                .addComponent(pass, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(20, 20, 20)
                                .addComponent(jLabel9)
                                .addGap(9, 9, 9)
                                .addComponent(postfix, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(25, 25, 25)
                                .addComponent(jLabel10)
                                .addGap(10, 10, 10)
                                .addComponent(prefix, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel13)
                                .addGap(4, 4, 4)
                                .addComponent(vpnName, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(23, 23, 23)
                                .addComponent(jLabel14)
                                .addGap(4, 4, 4)
                                .addComponent(jTFIEPath, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(21, 21, 21)
                                .addComponent(jLabel15)
                                .addGap(4, 4, 4)
                                .addComponent(jTFFFPath, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(19, 19, 19)
                                .addComponent(jLabel16)
                                .addGap(4, 4, 4)
                                .addComponent(jTFGCPath, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel1)
                                .addGap(4, 4, 4)
                                .addComponent(postPerIP, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(36, 36, 36)
                                .addComponent(jLabel2)
                                .addGap(4, 4, 4)
                                .addComponent(postInterval, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(41, 41, 41)
                                .addComponent(jLabel3)
                                .addGap(4, 4, 4)
                                .addComponent(lwage, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(6, 6, 6)
                                .addComponent(upage, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(15, 15, 15)
                                .addComponent(jLabel11)
                                .addGap(4, 4, 4)
                                .addComponent(maxWaitTime, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(46, 46, 46)
                                .addComponent(jLabel12)
                                .addGap(4, 4, 4)
                                .addComponent(maxTry, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(15, 15, 15)
                                .addComponent(jLabel4)
                                .addGap(4, 4, 4)
                                .addComponent(postType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(56, 56, 56)
                                .addComponent(jLabel5)
                                .addGap(4, 4, 4)
                                .addComponent(countryUI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(15, 15, 15)
                                .addComponent(logincl)
                                .addGap(0, 0, 0)
                                .addComponent(useLocation)
                                .addGap(0, 0, 0)
                                .addComponent(randomSubarea))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(15, 15, 15)
                                .addComponent(useAge)
                                .addGap(0, 0, 0)
                                .addComponent(useFWlink))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(15, 15, 15)
                                .addComponent(logAutoScroll)
                                .addGap(2, 2, 2)
                                .addComponent(autoPost)
                                .addGap(2, 2, 2)
                                .addComponent(changeIP)))
                        .addGap(12, 12, 12)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel21)
                            .addComponent(jLabel19)
                            .addComponent(jLabel8)
                            .addComponent(jLabel17)
                            .addComponent(jLabel18))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jCBPostInSameSession)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(vpn)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(jCBWebEmail))
                                    .addComponent(jCBCloseBrowser)
                                    .addComponent(jCBDeletePost))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jCBUseSlot)
                                    .addComponent(jCBRandom)
                                    .addComponent(jCBUseProxy)))
                            .addComponent(jCBProxyType)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jCBUpdateAccount)
                                .addGap(24, 24, 24)
                                .addComponent(jCBHideResources))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jTFSlotNo, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTFRenew, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(accountID, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(driver, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(job, javax.swing.GroupLayout.Alignment.LEADING, 0, 97, Short.MAX_VALUE))
                            .addComponent(jCBRunIndividual)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(4, 4, 4)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel20)
                            .addComponent(jLabel22))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTFDomainInfo, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTFEmailTry, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(19, 19, 19))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(11, 11, 11)
                .addComponent(message, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(43, 43, 43)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6)
                            .addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel7)
                            .addComponent(pass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel9))
                            .addComponent(postfix, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel10))
                            .addComponent(prefix, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(4, 4, 4)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel13))
                            .addComponent(vpnName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(12, 12, 12)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel14))
                            .addComponent(jTFIEPath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel15))
                            .addComponent(jTFFFPath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel16))
                            .addComponent(jTFGCPath, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(11, 11, 11)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(postPerIP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(postInterval, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel1)
                                    .addComponent(jLabel2))))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addComponent(jLabel3))
                            .addComponent(lwage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(upage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(maxWaitTime, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(maxTry, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel11)
                                    .addComponent(jLabel12))))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(postType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(countryUI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(3, 3, 3)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel4)
                                    .addComponent(jLabel5))))
                        .addGap(7, 7, 7)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(logincl)
                            .addComponent(useLocation)
                            .addComponent(randomSubarea))
                        .addGap(2, 2, 2)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(useAge)
                            .addComponent(useFWlink))
                        .addGap(3, 3, 3)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(logAutoScroll)
                            .addComponent(autoPost)
                            .addComponent(changeIP))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTFDomainInfo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel20))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTFEmailTry, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel22))
                        .addGap(3, 3, 3)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(add)
                            .addComponent(jButtonDelete)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(job, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel19))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel21)
                            .addComponent(driver, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(accountID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel8))
                        .addGap(5, 5, 5)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTFRenew, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel17))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTFSlotNo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel18))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCBPostInSameSession)
                            .addComponent(jCBUseSlot))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(vpn)
                            .addComponent(jCBWebEmail))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCBCloseBrowser)
                            .addComponent(jCBRandom))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCBDeletePost)
                            .addComponent(jCBUseProxy, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCBProxyType)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCBUpdateAccount)
                            .addComponent(jCBHideResources))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCBRunIndividual)
                        .addGap(180, 180, 180))))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void addActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addActionPerformed
        try {
            StringBuilder request = new StringBuilder();
            request.append("<Request>");

            if (this.recordId != null && !this.recordId.isEmpty()) {
                request.append("<id>").append(this.recordId).append("</id>");
            } else {
                request.append("<id>").append("").append("</id>");
            }
            request.append("<username>").append(this.username).append("</username>");
            request.append("<password>").append(this.password).append("</password>");
            request.append("<country>").append(this.country).append("</country>");

            if (!this.postPerIP.getText().isEmpty()) {
                request.append("<post_per_ip>").append(this.postPerIP.getText()).append("</post_per_ip>");
            } else {
                request.append("<post_per_ip>").append(0).append("</post_per_ip>");
            }

            if (!this.postInterval.getText().isEmpty()) {
                request.append("<post_interval>").append(this.postInterval.getText()).append("</post_interval>");
            } else {
                request.append("<post_interval>").append(0).append("</post_interval>");
            }

            if (!this.upage.getText().isEmpty()) {
                request.append("<upper_age>").append(this.upage.getText()).append("</upper_age>");
            } else {
                request.append("<upper_age>").append(0).append("</upper_age>");
            }

            if (!this.lwage.getText().isEmpty()) {
                request.append("<lower_age>").append(this.lwage.getText()).append("</lower_age>");
            } else {
                request.append("<lower_age>").append("0").append("</lower_age>");
            }

            if (this.logincl.isSelected()) {
                request.append("<login_cl>").append(1).append("</login_cl>");
            } else {
                request.append("<login_cl>").append(0).append("</login_cl>");
            }

            if (this.useLocation.isSelected()) {
                request.append("<use_location>").append(1).append("</use_location>");
            } else {
                request.append("<use_location>").append(0).append("</use_location>");
            }

            if (this.useLocation.isSelected()) {
                request.append("<use_location>").append(1).append("</use_location>");
            } else {
                request.append("<use_location>").append(0).append("</use_location>");
            }

            if (this.randomSubarea.isSelected()) {
                request.append("<random_subarea>").append(1).append("</random_subarea>");
            } else {
                request.append("<random_subarea>").append(0).append("</random_subarea>");
            }

            if (this.useAge.isSelected()) {
                request.append("<use_age>").append(1).append("</use_age>");
            } else {
                request.append("<use_age>").append(0).append("</use_age>");
            }

            if (this.useFWlink.isSelected()) {
                request.append("<use_fw_email>").append(1).append("</use_fw_email>");
            } else {
                request.append("<use_fw_email>").append(0).append("</use_fw_email>");
            }

            if (!this.maxWaitTime.getText().isEmpty()) {
                request.append("<max_wait_time>").append(this.maxWaitTime.getText()).append("</max_wait_time>");
            } else {
                request.append("<max_wait_time>").append(0).append("</max_wait_time>");
            }

            if (this.logAutoScroll.isSelected()) {
                request.append("<log_auto_scroll>").append(1).append("</log_auto_scroll>");
            } else {
                request.append("<log_auto_scroll>").append(0).append("</log_auto_scroll>");
            }

            request.append("<post_type>").append(this.postType.getSelectedItem()).append("</post_type>");

            if (this.autoPost.isSelected()) {
                request.append("<auto_post>").append(1).append("</auto_post>");
            } else {
                request.append("<auto_post>").append(0).append("</auto_post>");
            }

            if (this.changeIP.isSelected()) {
                request.append("<change_ip>").append(1).append("</change_ip>");
            } else {
                request.append("<change_ip>").append(0).append("</change_ip>");
            }

            request.append("<user_name>").append(this.name.getText()).append("</user_name>");
            request.append("<upass>").append(this.pass.getText()).append("</upass>");
            request.append("<country>").append(this.countryUI.getSelectedItem()).append("</country>");

            request.append("<postfix>").append(this.postfix.getText()).append("</postfix>");
            request.append("<prefix>").append(this.prefix.getText()).append("</prefix>");
            request.append("<vpn_name>").append(this.vpnName.getText()).append("</vpn_name>");

            if (!this.maxTry.getText().isEmpty()) {
                request.append("<max_try>").append(this.maxTry.getText()).append("</max_try>");
            } else {
                request.append("<max_try>").append(0).append("</max_try>");
            }

            if (!this.jTFIEPath.getText().isEmpty()) {
                request.append("<ie_path>").append(this.jTFIEPath.getText()).append("</ie_path>");
            } else {
                request.append("<ie_path>").append("").append("</ie_path>");
            }

            if (!this.jTFFFPath.getText().isEmpty()) {
                request.append("<ff_path>").append(this.jTFFFPath.getText()).append("</ff_path>");
            } else {
                request.append("<ff_path>").append("").append("</ff_path>");
            }

            if (!this.jTFGCPath.getText().isEmpty()) {
                request.append("<gc_path>").append(this.jTFGCPath.getText()).append("</gc_path>");
            } else {
                request.append("<gc_path>").append("").append("</gc_path>");
            }

            if (!this.driver.getSelectedItem().toString().isEmpty()) {
                request.append("<driver>").append(this.driver.getSelectedItem().toString()).append("</driver>");
            } else {
                request.append("<driver>").append("").append("</driver>");
            }

            if (!accountID.getText().isEmpty()) {
                request.append("<accountid>").append(this.accountID.getText()).append("</accountid>");
            } else {
                request.append("<accountid>").append("").append("</accountid>");
            }

            if (vpn.isSelected()) {
                request.append("<vpn>").append(1).append("</vpn>");
            } else {
                request.append("<vpn>").append(0).append("</vpn>");
            }

            if (jCBWebEmail.isSelected()) {
                request.append("<web_email>").append(1).append("</web_email>");
            } else {
                request.append("<web_email>").append(0).append("</web_email>");
            }

            if (jCBCloseBrowser.isSelected()) {
                request.append("<close_browser>").append(1).append("</close_browser>");
            } else {
                request.append("<close_browser>").append(0).append("</close_browser>");
            }

            if (jCBRandom.isSelected()) {
                request.append("<random>").append(1).append("</random>");
            } else {
                request.append("<random>").append(0).append("</random>");
            }

            if (jCBDeletePost.isSelected()) {
                request.append("<delete_post>").append(1).append("</delete_post>");
            } else {
                request.append("<delete_post>").append(0).append("</delete_post>");
            }

            if (jCBUpdateAccount.isSelected()) {
                request.append("<update_account>").append(1).append("</update_account>");
            } else {
                request.append("<update_account>").append(0).append("</update_account>");
            }

            if (jCBProxyType.isSelected()) {
                request.append("<proxy_type>").append(1).append("</proxy_type>");
            } else {
                request.append("<proxy_type>").append(0).append("</proxy_type>");
            }

            if (jCBUseProxy.isSelected()) {
                request.append("<use_proxy>").append(1).append("</use_proxy>");
            } else {
                request.append("<use_proxy>").append(0).append("</use_proxy>");
            }

            if (jCBUseSlot.isSelected()) {
                request.append("<use_slot>").append(1).append("</use_slot>");
            } else {
                request.append("<use_slot>").append(0).append("</use_slot>");
            }

            if (jCBPostInSameSession.isSelected()) {
                request.append("<post_insame_session>").append(1).append("</post_insame_session>");
            } else {
                request.append("<post_insame_session>").append(0).append("</post_insame_session>");
            }

            if (!jTFRenew.getText().isEmpty()) {
                request.append("<renew>").append(this.jTFRenew.getText()).append("</renew>");
            } else {
                request.append("<renew>").append("").append("</renew>");
            }

            if (jCBHideResources.isSelected()) {
                request.append("<hide_resources>").append(1).append("</hide_resources>");
            } else {
                request.append("<hide_resources>").append(0).append("</hide_resources>");
            }

            if (!jTFSlotNo.getText().isEmpty()) {
                request.append("<slot_no>").append(this.jTFSlotNo.getText()).append("</slot_no>");
            } else {
                request.append("<slot_no>").append("").append("</slot_no>");
            }
            request.append("<job>").append(this.job.getSelectedItem()).append("</job>");

            if (jCBRunIndividual.isSelected()) {
                request.append("<run_individual>").append(1).append("</run_individual>");
            } else {
                request.append("<run_individual>").append(0).append("</run_individual>");
            }

            if (!jTFDomainInfo.getText().isEmpty()) {
                request.append("<domain_info>").append(this.jTFDomainInfo.getText()).append("</domain_info>");
            } else {
                request.append("<domain_info>").append("").append("</domain_info>");
            }
            
            if (!jTFEmailTry.getText().isEmpty()) {
                request.append("<email_read_try>").append(this.jTFEmailTry.getText()).append("</email_read_try>");
            } else {
                request.append("<email_read_try>").append(0).append("</email_read_try>");
            }
            
            request.append("</Request>");

            String req = URLEncoder.encode(request.toString(), "UTF-8");
            String uri = "http://" + IConstant.HOSTNAME + "/index.php?r=setting/addSetting";
            String param = "request=" + req;
            String response = HttpHelper.post(new URL(uri), param);

            Document document = DocumentHelper.parseText(response);
            String errorCode = document.valueOf("Response/errorcode");
            String msg = document.valueOf("Response/message");
            if (errorCode.equalsIgnoreCase("000")) {
                this.message.setBackground(Color.red);
            } else {
                this.message.setBackground(Color.black);
                this.getSetting();
            }
            this.message.setText(msg);
        } catch (Exception ex) {
            this.message.setText("Error " + ex.getMessage());
            this.message.setText(ex.getMessage());
        }
    }//GEN-LAST:event_addActionPerformed

    private void jButtonDeleteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonDeleteActionPerformed
        try {
            StringBuilder request = new StringBuilder();
            request.append("<Request>");
            request.append("<id>").append(this.getRecordId()).append("</id>");
            request.append("<username>").append(this.username).append("</username>");
            request.append("<password>").append(this.password).append("</password>");
            request.append("</Request>");

            String uri = "http://" + IConstant.HOSTNAME + "/index.php?r=userAccount/deleteSetting&request=" + request.toString();
            String response = HttpHelper.post(new URL(uri), "");

            Document document = DocumentHelper.parseText(response);
            String errorCode = document.valueOf("Response/errorcode");
            String msg = document.valueOf("Response/message");
            if (errorCode.equalsIgnoreCase("000")) {
                this.message.setBackground(Color.red);
            } else {
                this.getSetting();
                this.message.setBackground(Color.black);
            }
            this.message.setText(msg);
        } catch (Exception ex) {
            this.message.setText("Error " + ex.getMessage());
            this.message.setText(ex.getMessage());
        }
    }//GEN-LAST:event_jButtonDeleteActionPerformed

    public void getSetting() {
        try {
            this.message.setText("");
            String uri = "http://" + IConstant.HOSTNAME + "/index.php?r=setting/getSetting&username="
                    + this.username + "&password=" + this.password;
            String response = HttpHelper.post(new URL(uri), "");
            if (response.isEmpty()) {
                return;
            }
            Document document = DocumentHelper.parseText(response);
            String errorCode = document.valueOf("Response/errorcode");
            if (!errorCode.equalsIgnoreCase("000")) {
                String id = document.valueOf("/Response/setting/id");
                this.setRecordId(id);
                this.postPerIP.setText(document.valueOf("/Response/setting/post_per_ip"));
                this.postInterval.setText(document.valueOf("/Response/setting/post_interval"));
                this.upage.setText(document.valueOf("/Response/setting/upper_age"));
                this.lwage.setText(document.valueOf("/Response/setting/lower_age"));
                this.maxTry.setText(document.valueOf("/Response/setting/max_try"));
                if (document.valueOf("/Response/setting/login_cl").equalsIgnoreCase("1")) {
                    this.logincl.setSelected(true);
                }

                if (document.valueOf("/Response/setting/use_location").equalsIgnoreCase("1")) {
                    this.useLocation.setSelected(true);
                }

                if (document.valueOf("/Response/setting/random_subarea").equalsIgnoreCase("1")) {
                    this.randomSubarea.setSelected(true);
                }

                if (document.valueOf("/Response/setting/use_age").equalsIgnoreCase("1")) {
                    this.useAge.setSelected(true);
                }

                if (document.valueOf("/Response/setting/use_fw_email").equalsIgnoreCase("1")) {
                    this.useFWlink.setSelected(true);
                }

                this.maxWaitTime.setText(document.valueOf("/Response/setting/max_wait_time"));

                if (document.valueOf("/Response/setting/log_auto_scroll").equalsIgnoreCase("1")) {
                    this.logAutoScroll.setSelected(true);
                }

                this.postType.setSelectedItem(document.valueOf("/Response/setting/post_type"));
                if (document.valueOf("/Response/setting/auto_post").equalsIgnoreCase("1")) {
                    this.autoPost.setSelected(true);
                }

                if (document.valueOf("/Response/setting/change_ip").equalsIgnoreCase("1")) {
                    this.changeIP.setSelected(true);
                }

                this.name.setText(document.valueOf("/Response/setting/user_name"));
                this.pass.setText(document.valueOf("/Response/setting/upass"));
                //this.countryUI.setText(document.valueOf("/Response/setting/country_id"));

                if (document.valueOf("/Response/setting/use_proxy").equalsIgnoreCase("1")) {
                    this.jCBUseProxy.setSelected(true);
                }

                this.postfix.setText(document.valueOf("/Response/setting/postfix"));
                this.prefix.setText(document.valueOf("/Response/setting/prefix"));
                this.maxTry.setText(document.valueOf("/Response/setting/max_try"));
                this.vpnName.setText(document.valueOf("/Response/setting/vpn_name"));
                this.jTFIEPath.setText(document.valueOf("/Response/setting/ie_path"));
                this.jTFFFPath.setText(document.valueOf("/Response/setting/ff_path"));
                this.jTFGCPath.setText(document.valueOf("/Response/setting/gc_path"));

                this.job.setSelectedItem(document.valueOf("/Response/setting/job"));

                this.driver.setSelectedItem(document.valueOf("/Response/setting/driver"));

                this.accountID.setText(document.valueOf("/Response/setting/accountid"));

                if (document.valueOf("/Response/setting/vpn").equalsIgnoreCase("1")) {
                    this.vpn.setSelected(true);
                }

                if (document.valueOf("/Response/setting/jCBWebEmail").equalsIgnoreCase("1")) {
                    this.jCBWebEmail.setSelected(true);
                }

                if (document.valueOf("/Response/setting/close_browser").equalsIgnoreCase("1")) {
                    this.jCBCloseBrowser.setSelected(true);
                }

                if (document.valueOf("/Response/setting/random").equalsIgnoreCase("1")) {
                    this.jCBRandom.setSelected(true);
                }

                if (document.valueOf("/Response/setting/delete_post").equalsIgnoreCase("1")) {
                    this.jCBDeletePost.setSelected(true);
                }

                if (document.valueOf("/Response/setting/update_account").equalsIgnoreCase("1")) {
                    this.jCBUpdateAccount.setSelected(true);
                }

                if (document.valueOf("/Response/setting/proxy_type").equalsIgnoreCase("1")) {
                    this.jCBProxyType.setSelected(true);
                }

                if (document.valueOf("/Response/setting/use_proxy").equalsIgnoreCase("1")) {
                    this.jCBUseProxy.setSelected(true);
                }

                if (document.valueOf("/Response/setting/use_slot").equalsIgnoreCase("1")) {
                    this.jCBUseSlot.setSelected(true);
                }

                if (document.valueOf("/Response/setting/post_insame_session").equalsIgnoreCase("1")) {
                    this.jCBPostInSameSession.setSelected(true);
                }

                this.jTFRenew.setText(document.valueOf("/Response/setting/renew"));

                if (document.valueOf("/Response/setting/hide_resources").equalsIgnoreCase("1")) {
                    this.jCBHideResources.setSelected(true);
                }
                this.jTFSlotNo.setText(document.valueOf("/Response/setting/slot_no"));
                
                this.jTFRenew.setText(document.valueOf("/Response/setting/renew"));

                if (document.valueOf("/Response/setting/run_individual").equalsIgnoreCase("1")) {
                    this.jCBRunIndividual.setSelected(true);
                }
                this.jTFDomainInfo.setText(document.valueOf("/Response/setting/domain_info"));
                this.jTFEmailTry.setText(document.valueOf("/Response/setting/email_read_try"));
            }
        } catch (Throwable ex) {
            this.message.setText("Error " + ex.getMessage());
            this.message.setText(ex.getMessage());
        }
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField accountID;
    private javax.swing.JButton add;
    private javax.swing.JCheckBox autoPost;
    private javax.swing.JCheckBox changeIP;
    private javax.swing.JComboBox countryUI;
    private javax.swing.JComboBox driver;
    private javax.swing.JButton jButtonDelete;
    private javax.swing.JCheckBox jCBCloseBrowser;
    private javax.swing.JCheckBox jCBDeletePost;
    private javax.swing.JCheckBox jCBHideResources;
    private javax.swing.JCheckBox jCBPostInSameSession;
    private javax.swing.JCheckBox jCBProxyType;
    private javax.swing.JCheckBox jCBRandom;
    private javax.swing.JCheckBox jCBRunIndividual;
    private javax.swing.JCheckBox jCBUpdateAccount;
    private javax.swing.JCheckBox jCBUseProxy;
    private javax.swing.JCheckBox jCBUseSlot;
    private javax.swing.JCheckBox jCBWebEmail;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JTextField jTFDomainInfo;
    private javax.swing.JTextField jTFEmailTry;
    private javax.swing.JTextField jTFFFPath;
    private javax.swing.JTextField jTFGCPath;
    private javax.swing.JTextField jTFIEPath;
    private javax.swing.JTextField jTFRenew;
    private javax.swing.JTextField jTFSlotNo;
    private javax.swing.JComboBox job;
    private javax.swing.JCheckBox logAutoScroll;
    private javax.swing.JCheckBox logincl;
    private javax.swing.JTextField lwage;
    private javax.swing.JTextField maxTry;
    private javax.swing.JTextField maxWaitTime;
    private javax.swing.JLabel message;
    private javax.swing.JTextField name;
    private javax.swing.JTextField pass;
    private javax.swing.JTextField postInterval;
    private javax.swing.JTextField postPerIP;
    private javax.swing.JComboBox postType;
    private javax.swing.JTextField postfix;
    private javax.swing.JTextField prefix;
    private javax.swing.JCheckBox randomSubarea;
    private javax.swing.JTextField upage;
    private javax.swing.JCheckBox useAge;
    private javax.swing.JCheckBox useFWlink;
    private javax.swing.JCheckBox useLocation;
    private javax.swing.JCheckBox vpn;
    private javax.swing.JTextField vpnName;
    // End of variables declaration//GEN-END:variables
}
